package com.eportal.vo.controller.background.tkeys;

import java.util.Date;

/**
 * 智能门禁管理列表展示字段
 * Created by Saber on 2017/8/14.
 */
public class TKeyListVO {

    /**
     * sId
     */
    private Long sId;

    /**
     * PID
     */
    private String pId;

    /**
     * 小区id
     */
    private String communityId;

    /**
     * 门禁名称
     */
    private String lockName;

    /**
     * 状态 0正常，1停用,2:设备被回收（永久禁用）
     */
    private String status;

    /**
     * 发放时间
     */
    private Date reqtime;

    /**
     * 有效期
     */
    private Date validity;

    /**
     * 合作方code  （合作方标识）
     */
    private String agtCode;

    /**
     * 合作方名称  （公司名称)
     */
    private String agtName;

    /**
     * 操作人id
     */
    private String sysoptId;

    /**
     * 小区名称
     */
    private String communityName;

    /**
     * 所属区域
     */
    private String cityCode;

    /**
     * 所属区域  (区域编码)
     */
    private String areaCode;

    /**
     * 手机号
     */
    private String tel;

    /**
     * 用户姓名
     */
    private String aUname;

    /**
     * 住户类型：1：主业主（一个房间只有一个），2：主租客（一个房间只有一个），3：业主的住户，4：租客的住户
     */
    private String utype;

    /**
     *
     */
    private String userId;


    public String getAgtCode() {
        return agtCode;
    }

    public void setAgtCode(String agtCode) {
        this.agtCode = agtCode;
    }

    public String getAgtName() {
        return agtName;
    }

    public void setAgtName(String agtName) {
        this.agtName = agtName;
    }

    public String getaUname() {
        return aUname;
    }

    public void setaUname(String aUname) {
        this.aUname = aUname;
    }

    public String getCityCode() {
        return cityCode;
    }

    public void setCityCode(String cityCode) {
        this.cityCode = cityCode;
    }

    public String getAreaCode() {
        return areaCode;
    }

    public void setAreaCode(String areaCode) {
        this.areaCode = areaCode;
    }

    public String getCommunityId() {
        return communityId;
    }

    public void setCommunityId(String communityId) {
        this.communityId = communityId;
    }

    public String getCommunityName() {
        return communityName;
    }

    public void setCommunityName(String communityName) {
        this.communityName = communityName;
    }

    public String getLockName() {
        return lockName;
    }

    public void setLockName(String lockName) {
        this.lockName = lockName;
    }

    public String getpId() {
        return pId;
    }

    public void setpId(String pId) {
        this.pId = pId;
    }

    public Date getReqtime() {
        return reqtime;
    }

    public void setReqtime(Date reqtime) {
        this.reqtime = reqtime;
    }

    public Long getsId() {
        return sId;
    }

    public void setsId(Long sId) {
        this.sId = sId;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getSysoptId() {
        return sysoptId;
    }

    public void setSysoptId(String sysoptId) {
        this.sysoptId = sysoptId;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getUtype() {
        return utype;
    }

    public void setUtype(String utype) {
        this.utype = utype;
    }

    public Date getValidity() {
        return validity;
    }

    public void setValidity(Date validity) {
        this.validity = validity;
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("TKeyListVO{");
        sb.append("agtCode='").append(agtCode).append('\'');
        sb.append(", sId=").append(sId);
        sb.append(", pId='").append(pId).append('\'');
        sb.append(", communityId='").append(communityId).append('\'');
        sb.append(", lockName='").append(lockName).append('\'');
        sb.append(", status='").append(status).append('\'');
        sb.append(", reqtime=").append(reqtime);
        sb.append(", validity=").append(validity);
        sb.append(", agtName='").append(agtName).append('\'');
        sb.append(", sysoptId='").append(sysoptId).append('\'');
        sb.append(", communityName='").append(communityName).append('\'');
        sb.append(", cityCode='").append(cityCode).append('\'');
        sb.append(", areaCode='").append(areaCode).append('\'');
        sb.append(", tel='").append(tel).append('\'');
        sb.append(", aUname='").append(aUname).append('\'');
        sb.append(", utype='").append(utype).append('\'');
        sb.append(", userId='").append(userId).append('\'');
        sb.append('}');
        return sb.toString();
    }
}
